package com.sakhalin.news.repositories

import com.sakhalin.news.network.NewsApi

class NewsDetailsRepository(private val api: NewsApi = NewsApi.getInstance()) {
    suspend fun getNewsDetails(id: String, darkMode: Boolean = false) = api.getNewsDetails(id, darkMode)
}